home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 5 code / Lisp Mini-App.sea / Lisp Mini-App / build-and-run-mini-app.lisp < prev    next >
MacBinary  |  1992-04-08  |  6.9 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 8 19:02:46 1992, modified Wed Apr 8 19:02:46 1992, creator Common Lisp 2, type ASCII, 6350 bytes "build-and-run-mini-app.lisp" , at 0x194e 441 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1b 62 75 69 6c 64 2d | 61 6e 64 2d 72 75 6e 2d |..build-|and-run-|
|00000010| 6d 69 6e 69 2d 61 70 70 | 2e 6c 69 73 70 00 00 00 |mini-app|.lisp...|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 18 ce 00 | 00 01 b9 a6 09 2c 16 a6 |........|.....,..|
|00000060| 09 2c 16 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.,......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fa fe 00 00 |........|........|
|00000080| 23 7c 0d 20 20 20 62 75 | 69 6c 64 2d 61 6e 64 2d |#|. bu|ild-and-|
|00000090| 72 75 6e 2d 6d 69 6e 69 | 2d 61 70 70 2e 6c 69 73 |run-mini|-app.lis|
|000000a0| 70 0d 0d 20 20 20 54 6f | 20 63 6f 6d 70 69 6c 65 |p.. To| compile|
|000000b0| 20 61 6e 64 20 6c 6f 61 | 64 20 61 6e 64 20 73 74 | and loa|d and st|
|000000c0| 61 72 74 20 74 68 65 20 | 4d 69 6e 69 2d 41 70 70 |art the |Mini-App|
|000000d0| 6c 69 63 61 74 69 6f 6e | 2c 20 6c 6f 61 64 20 74 |lication|, load t|
|000000e0| 68 69 73 20 66 69 6c 65 | 2e 0d 0d 20 20 20 46 6f |his file|... Fo|
|000000f0| 72 20 66 75 72 74 68 65 | 72 20 69 6e 66 6f 2c 20 |r furthe|r info, |
|00000100| 73 65 65 20 66 69 6c 65 | 73 20 22 41 62 6f 75 74 |see file|s "About|
|00000110| 20 4d 69 6e 69 2d 41 70 | 70 22 20 61 6e 64 20 22 | Mini-Ap|p" and "|
|00000120| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 22 2e 0d 0d |Instruct|ions"...|
|00000130| 0d 20 20 20 50 6f 72 74 | 69 6f 6e 73 20 63 6f 70 |. Port|ions cop|
|00000140| 79 72 69 67 68 74 20 a9 | 31 39 38 39 2d 31 39 39 |yright .|1989-199|
|00000150| 32 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |2 Apple |Computer|
|00000160| 2c 20 49 6e 63 0d 0d 20 | 20 20 43 68 61 6e 67 65 |, Inc.. | Change|
|00000170| 20 48 69 73 74 6f 72 79 | 2e 0d 20 20 20 30 33 2d | History|.. 03-|
|00000180| 31 32 2d 39 32 20 73 6c | 6d 20 20 55 70 64 61 74 |12-92 sl|m Updat|
|00000190| 65 64 20 66 69 6c 65 20 | 68 65 61 64 65 72 20 63 |ed file |header c|
|000001a0| 6f 6d 6d 65 6e 74 73 2e | 0d 20 20 20 30 33 2d 30 |omments.|. 03-0|
|000001b0| 36 2d 39 32 20 73 6c 6d | 20 20 44 65 6c 69 62 65 |6-92 slm| Delibe|
|000001c0| 72 61 74 65 6c 79 20 61 | 6e 64 20 73 68 61 6d 65 |rately a|nd shame|
|000001d0| 6c 65 73 73 6c 79 20 6c | 69 66 74 65 64 20 6d 6f |lessly l|ifted mo|
|000001e0| 73 74 20 6f 66 20 74 68 | 65 20 49 46 54 27 73 0d |st of th|e IFT's.|
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000200| 20 20 20 20 22 63 63 6c | 3a 49 6e 74 65 72 66 61 | "ccl|:Interfa|
|00000210| 63 65 20 54 6f 6f 6c 73 | 3a 6d 61 6b 65 2d 69 66 |ce Tools|:make-if|
|00000220| 74 2e 6c 69 73 70 22 2e | 0d 20 20 20 20 20 20 20 |t.lisp".|. |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 54 68 69 73 20 69 | | This i|
|00000240| 73 20 61 20 74 75 74 6f | 72 69 61 6c 3b 20 77 65 |s a tuto|rial; we|
|00000250| 20 64 65 66 69 6e 65 20 | 6e 6f 20 22 70 61 63 6b | define |no "pack|
|00000260| 61 67 65 22 2e 0d 20 0d | 0d 20 20 20 20 41 20 73 |age".. .|. A s|
|00000270| 69 6d 70 6c 65 20 64 65 | 66 73 79 73 74 65 6d 2e |imple de|fsystem.|
|00000280| 0d 0d 20 20 20 20 54 68 | 65 20 64 65 66 73 79 73 |.. Th|e defsys|
|00000290| 74 65 6d 20 64 65 66 69 | 6e 65 73 20 74 68 65 20 |tem defi|nes the |
|000002a0| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0d 20 20 20 20 20 |followin|g:. |
|000002b0| 20 20 2d 20 64 65 70 65 | 6e 64 65 6e 63 69 65 73 | - depe|ndencies|
|000002c0| 20 62 65 74 77 65 65 6e | 20 66 69 6c 65 73 20 28 | between| files (|
|000002d0| 77 68 61 74 20 6d 75 73 | 74 20 63 6f 6d 70 69 6c |what mus|t compil|
|000002e0| 65 20 6f 72 20 6c 6f 61 | 64 20 62 65 66 6f 72 65 |e or loa|d before|
|000002f0| 20 77 68 61 74 29 2e 0d | 20 20 20 20 20 20 20 20 | what)..| |
|00000300| 20 49 6e 20 74 68 69 73 | 20 63 61 73 65 2c 20 64 | In this| case, d|
|00000310| 65 70 65 6e 64 65 6e 63 | 69 65 73 20 61 72 65 20 |ependenc|ies are |
|00000320| 65 6e 66 6f 72 63 65 64 | 20 62 79 20 61 20 32 2d |enforced| by a 2-|
|00000330| 6c 65 76 65 6c 20 73 74 | 72 61 74 65 67 79 3a 0d |level st|rategy:.|
|00000340| 20 20 20 20 20 20 20 20 | 20 31 2e 20 50 72 6f 63 | | 1. Proc|
|00000350| 65 64 75 72 61 6c 6c 79 | 20 62 79 20 70 61 72 74 |edurally| by part|
|00000360| 69 74 69 6f 6e 69 6e 67 | 20 66 69 6c 65 73 20 69 |itioning| files i|
|00000370| 6e 74 6f 20 34 20 67 72 | 6f 75 70 73 20 28 63 6f |nto 4 gr|oups (co|
|00000380| 61 72 73 65 29 2e 0d 20 | 20 20 20 20 20 20 20 20 |arse).. | |
|00000390| 20 20 20 54 68 65 20 67 | 72 6f 75 70 73 20 61 72 | The g|roups ar|
|000003a0| 65 20 6c 6f 61 64 65 64 | 20 69 6e 20 61 20 66 69 |e loaded| in a fi|
|000003b0| 78 65 64 20 6f 72 64 65 | 72 2e 0d 20 20 20 20 20 |xed orde|r.. |
|000003c0| 20 20 20 20 32 2e 20 4c | 65 78 69 63 61 6c 6c 79 | 2. L|exically|
|000003d0| 20 62 79 20 6f 72 64 65 | 72 69 6e 67 20 66 69 6c | by orde|ring fil|
|000003e0| 65 73 20 77 69 74 68 69 | 6e 20 65 61 63 68 20 67 |es withi|n each g|
|000003f0| 72 6f 75 70 20 28 66 69 | 6e 65 29 2e 0d 20 20 20 |roup (fi|ne).. |
|00000400| 20 20 20 20 20 20 20 20 | 20 54 68 65 20 66 69 6c | | The fil|
|00000410| 65 73 20 77 69 74 68 69 | 6e 20 65 61 63 68 20 67 |es withi|n each g|
|00000420| 72 6f 75 70 20 61 72 65 | 20 6c 6f 61 64 65 64 20 |roup are| loaded |
|00000430| 69 6e 20 66 6f 72 77 61 | 72 64 20 6f 72 64 65 72 |in forwa|rd order|
|00000440| 2e 0d 20 20 20 20 20 20 | 20 2d 20 22 73 75 70 70 |.. | - "supp|
|00000450| 6f 72 74 22 20 66 69 6c | 65 73 20 2d 20 6d 61 63 |ort" fil|es - mac|
|00000460| 72 6f 73 2c 20 70 61 74 | 63 68 65 73 20 61 6e 64 |ros, pat|ches and|
|00000470| 20 6c 6f 77 2d 6c 65 76 | 65 6c 20 63 6f 64 65 0d | low-lev|el code.|
|00000480| 20 20 20 20 20 20 20 2d | 20 22 6d 6f 64 75 6c 65 | -| "module|
|00000490| 22 20 66 69 6c 65 73 20 | 2d 20 54 68 65 73 65 20 |" files |- These |
|000004a0| 61 72 65 20 6c 69 62 72 | 61 72 69 65 73 20 74 68 |are libr|aries th|
|000004b0| 61 74 20 61 74 20 74 68 | 65 20 65 6e 64 20 6f 66 |at at th|e end of|
|000004c0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 65 |. | the|
|000004d0| 69 72 20 73 6f 75 72 63 | 65 20 66 69 6c 65 73 20 |ir sourc|e files |
|000004e0| 63 61 6c 6c 20 23 27 70 | 72 6f 76 69 64 65 20 77 |call #'p|rovide w|
|000004f0| 69 74 68 20 74 68 65 69 | 72 20 63 6f 6c 6c 6f 71 |ith thei|r colloq|
|00000500| 75 69 61 6c 20 6e 61 6d | 65 2e 0d 20 20 20 20 20 |uial nam|e.. |
|00000510| 20 20 20 20 20 20 20 53 | 65 65 20 64 6f 63 73 20 | S|ee docs |
|00000520| 6f 6e 20 23 27 70 72 6f | 76 69 64 65 20 61 6e 64 |on #'pro|vide and|
|00000530| 20 2a 6d 6f 64 75 6c 65 | 73 2a 2e 20 0d 20 20 20 | *module|s*. . |
|00000540| 20 20 20 20 2d 20 22 63 | 6f 72 65 22 20 66 69 6c | - "c|ore" fil|
|00000550| 65 73 20 2d 20 4d 65 6e | 75 73 2c 20 70 61 6c 65 |es - Men|us, pale|
|00000560| 74 74 65 73 2c 20 62 65 | 68 61 76 69 6f 72 2c 20 |ttes, be|havior, |
|00000570| 65 74 63 0d 20 20 20 20 | 20 20 20 2d 20 22 61 70 |etc. | - "ap|
|00000580| 70 6c 69 63 61 74 69 6f | 6e 22 20 66 69 6c 65 73 |plicatio|n" files|
|00000590| 20 2d 20 50 61 6c 65 74 | 74 65 20 69 74 65 6d 20 | - Palet|te item |
|000005a0| 69 6e 73 74 61 6e 63 65 | 73 2c 20 73 70 65 63 69 |instance|s, speci|
|000005b0| 66 69 63 20 62 65 68 61 | 76 69 6f 72 2e 0d 0d 20 |fic beha|vior... |
|000005c0| 20 20 20 54 6f 20 62 65 | 74 74 65 72 20 75 6e 64 | To be|tter und|
|000005d0| 65 72 73 74 61 6e 64 20 | 74 68 69 73 20 64 72 61 |erstand |this dra|
|000005e0| 77 20 61 20 63 61 6c 6c | 20 67 72 61 70 68 2c 20 |w a call| graph, |
|000005f0| 73 74 61 72 74 69 6e 67 | 20 77 69 74 68 20 6c 6f |starting| with lo|
|00000600| 61 64 2d 61 70 70 2e 0d | 0d 20 20 20 20 4d 6f 72 |ad-app..|. Mor|
|00000610| 65 20 73 6f 70 68 69 73 | 74 69 63 61 74 65 64 20 |e sophis|ticated |
|00000620| 64 65 70 65 6e 64 65 6e | 63 69 65 73 2c 20 73 75 |dependen|cies, su|
|00000630| 63 68 20 61 73 20 77 68 | 61 74 20 6f 74 68 65 72 |ch as wh|at other|
|00000640| 20 66 69 6c 65 73 20 6d | 75 73 74 20 62 65 0d 20 | files m|ust be. |
|00000650| 20 20 20 72 65 63 6f 6d | 70 69 6c 65 64 20 69 66 | recom|piled if|
|00000660| 20 61 20 63 65 72 74 61 | 69 6e 20 66 69 6c 65 20 | a certa|in file |
|00000670| 69 73 20 72 65 63 6f 6d | 70 69 6c 65 64 2c 20 61 |is recom|piled, a|
|00000680| 72 65 20 6e 6f 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |re not i|mplement|
|00000690| 65 64 2e 20 20 20 20 0d | 7c 23 0d 0d 28 75 6e 6c |ed. .||#..(unl|
|000006a0| 65 73 73 20 28 61 6e 64 | 0d 20 20 20 20 20 20 20 |ess (and|. |
|000006b0| 20 20 28 65 71 75 61 6c | 70 20 22 4d 69 6e 69 2d | (equal|p "Mini-|
|000006c0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 22 0d 20 20 20 |Applicat|ion". |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 63 | | (c|
|000006e0| 61 72 20 28 6c 61 73 74 | 20 28 62 75 74 6c 61 73 |ar (last| (butlas|
|000006f0| 74 20 28 70 61 74 68 6e | 61 6d 65 2d 64 69 72 65 |t (pathn|ame-dire|
|00000700| 63 74 6f 72 79 0d 20 20 | 20 20 20 20 20 20 20 20 |ctory. | |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 74 72 61 | | (tra|
|00000730| 6e 73 6c 61 74 65 2d 6c | 6f 67 69 63 61 6c 2d 70 |nslate-l|ogical-p|
|00000740| 61 74 68 6e 61 6d 65 20 | 22 63 63 6c 3a 6d 69 6e |athname |"ccl:min|
|00000750| 69 2d 61 70 70 3b 22 29 | 29 29 29 29 29 0d 20 20 |i-app;")|))))). |
|00000760| 20 20 20 20 20 20 20 28 | 65 71 75 61 6c 70 20 22 | (|equalp "|
|00000770| 50 72 6f 67 72 61 6d 22 | 0d 20 20 20 20 20 20 20 |Program"|. |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 28 63 61 72 20 28 | | (car (|
|00000790| 6c 61 73 74 20 28 70 61 | 74 68 6e 61 6d 65 2d 64 |last (pa|thname-d|
|000007a0| 69 72 65 63 74 6f 72 79 | 0d 20 20 20 20 20 20 20 |irectory|. |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 20 20 20 20 20 28 74 | 72 61 6e 73 6c 61 74 65 | (t|ranslate|
|000007d0| 2d 6c 6f 67 69 63 61 6c | 2d 70 61 74 68 6e 61 6d |-logical|-pathnam|
|000007e0| 65 20 22 63 63 6c 3a 6d | 69 6e 69 2d 61 70 70 3b |e "ccl:m|ini-app;|
|000007f0| 22 29 29 29 29 29 29 0d | 20 20 28 63 63 6c 3a 3a |")))))).| (ccl::|
|00000800| 61 64 64 2d 6c 6f 67 69 | 63 61 6c 2d 70 61 74 68 |add-logi|cal-path|
|00000810| 6e 61 6d 65 2d 74 72 61 | 6e 73 6c 61 74 69 6f 6e |name-tra|nslation|
|00000820| 0d 20 20 20 22 63 63 6c | 22 20 27 28 22 6d 69 6e |. "ccl|" '("min|
|00000830| 69 2d 61 70 70 3b 2a 2a | 3b 2a 2e 2a 22 20 22 63 |i-app;**|;*.*" "c|
|00000840| 63 6c 3a 4d 69 6e 69 2d | 41 70 70 6c 69 63 61 74 |cl:Mini-|Applicat|
|00000850| 69 6f 6e 3b 50 72 6f 67 | 72 61 6d 3b 2a 2e 2a 22 |ion;Prog|ram;*.*"|
|00000860| 29 29 29 0d 0d 28 64 65 | 66 70 61 72 61 6d 65 74 |)))..(de|fparamet|
|00000870| 65 72 20 2a 61 70 70 2d | 73 75 70 70 6f 72 74 2d |er *app-|support-|
|00000880| 66 69 6c 65 73 2a 20 0d | 20 20 27 28 22 63 63 6c |files* .| '("ccl|
|00000890| 3a 6d 69 6e 69 2d 61 70 | 70 3b 6f 70 65 6e 2d 61 |:mini-ap|p;open-a|
|000008a0| 6c 6c 2d 74 65 78 74 2d | 66 69 6c 65 73 22 29 29 |ll-text-|files"))|
|000008b0| 0d 0d 28 64 65 66 70 61 | 72 61 6d 65 74 65 72 20 |..(defpa|rameter |
|000008c0| 2a 61 70 70 2d 6d 6f 64 | 75 6c 65 73 2a 20 27 28 |*app-mod|ules* '(|
|000008d0| 28 71 75 69 63 6b 64 72 | 61 77 20 2e 20 22 63 63 |(quickdr|aw . "cc|
|000008e0| 6c 3a 6c 69 62 72 61 72 | 79 3b 51 75 69 63 6b 44 |l:librar|y;QuickD|
|000008f0| 72 61 77 22 29 29 29 0d | 0d 28 64 65 66 70 61 72 |raw"))).|.(defpar|
|00000900| 61 6d 65 74 65 72 20 2a | 61 70 70 2d 63 6f 72 65 |ameter *|app-core|
|00000910| 2d 66 69 6c 65 73 2a 20 | 0d 20 20 27 28 22 63 63 |-files* |. '("cc|
|00000920| 6c 3a 6d 69 6e 69 2d 61 | 70 70 3b 67 6c 6f 62 61 |l:mini-a|pp;globa|
|00000930| 6c 73 22 20 0d 20 20 20 | 20 22 63 63 6c 3a 6d 69 |ls" . | "ccl:mi|
|00000940| 6e 69 2d 61 70 70 3b 75 | 74 69 6c 69 74 69 65 73 |ni-app;u|tilities|
|00000950| 22 0d 20 20 20 20 22 63 | 63 6c 3a 6d 69 6e 69 2d |". "c|cl:mini-|
|00000960| 61 70 70 3b 64 72 61 77 | 2d 64 69 61 6c 6f 67 2d |app;draw|-dialog-|
|00000970| 63 6c 61 73 73 22 20 0d | 20 20 20 20 22 63 63 6c |class" .| "ccl|
|00000980| 3a 6d 69 6e 69 2d 61 70 | 70 3b 6d 65 6e 75 73 22 |:mini-ap|p;menus"|
|00000990| 20 0d 20 20 20 20 22 63 | 63 6c 3a 6d 69 6e 69 2d | . "c|cl:mini-|
|000009a0| 61 70 70 3b 70 61 6c 65 | 74 74 65 2d 63 6c 61 73 |app;pale|tte-clas|
|000009b0| 73 22 20 0d 20 20 20 20 | 22 63 63 6c 3a 6d 69 6e |s" . |"ccl:min|
|000009c0| 69 2d 61 70 70 3b 64 72 | 61 77 2d 69 74 65 6d 2d |i-app;dr|aw-item-|
|000009d0| 63 6c 61 73 73 22 20 0d | 20 20 20 20 22 63 63 6c |class" .| "ccl|
|000009e0| 3a 6d 69 6e 69 2d 61 70 | 70 3b 64 65 66 61 75 6c |:mini-ap|p;defaul|
|000009f0| 74 2d 68 61 6e 64 6c 65 | 72 73 22 20 3b 20 66 6f |t-handle|rs" ; fo|
|00000a00| 72 20 44 52 41 57 2d 44 | 49 41 4c 4f 47 20 77 69 |r DRAW-D|IALOG wi|
|00000a10| 6e 64 6f 77 73 20 26 20 | 44 52 41 57 2d 49 54 45 |ndows & |DRAW-ITE|
|00000a20| 4d 20 6f 62 6a 65 63 74 | 73 0d 20 20 20 20 22 63 |M object|s. "c|
|00000a30| 63 6c 3a 6d 69 6e 69 2d | 61 70 70 3b 73 74 61 72 |cl:mini-|app;star|
|00000a40| 74 2d 61 70 70 6c 69 63 | 61 74 69 6f 6e 22 29 29 |t-applic|ation"))|
|00000a50| 0d 0d 28 64 65 66 70 61 | 72 61 6d 65 74 65 72 20 |..(defpa|rameter |
|00000a60| 2a 61 70 70 2d 66 69 6c | 65 73 2a 20 27 28 22 63 |*app-fil|es* '("c|
|00000a70| 63 6c 3a 6d 69 6e 69 2d | 61 70 70 3b 6d 69 6e 69 |cl:mini-|app;mini|
|00000a80| 2d 61 70 70 2d 65 78 61 | 6d 70 6c 65 22 29 29 0d |-app-exa|mple")).|
|00000a90| 0d 28 64 65 66 76 61 72 | 20 2a 6c 6f 61 64 65 64 |.(defvar| *loaded|
|00000aa0| 2d 61 70 70 2d 66 69 6c | 65 73 2a 20 27 28 29 20 |-app-fil|es* '() |
|00000ab0| 22 4b 65 65 70 20 74 72 | 61 63 6b 20 6f 66 20 66 |"Keep tr|ack of f|
|00000ac0| 69 6c 65 73 20 74 68 61 | 74 20 61 72 65 20 6c 6f |iles tha|t are lo|
|00000ad0| 61 64 65 64 2e 22 29 20 | 20 0d 0d 28 64 65 66 75 |aded.") | ..(defu|
|00000ae0| 6e 20 63 6f 6d 70 69 6c | 65 2d 69 66 2d 63 68 61 |n compil|e-if-cha|
|00000af0| 6e 67 65 64 20 28 66 69 | 6c 65 20 61 6c 77 61 79 |nged (fi|le alway|
|00000b00| 73 29 0d 20 20 22 43 6f | 6d 70 69 6c 65 73 20 66 |s). "Co|mpiles f|
|00000b10| 69 6c 65 20 69 66 20 6e | 6f 74 20 63 6f 6d 70 69 |ile if n|ot compi|
|00000b20| 6c 65 64 2c 20 69 66 20 | 63 68 61 6e 67 65 64 2c |led, if |changed,|
|00000b30| 20 6f 72 20 69 66 20 61 | 6c 77 61 79 73 20 69 73 | or if a|lways is|
|00000b40| 20 74 2e 22 0d 20 20 28 | 6c 65 74 2a 20 28 28 73 | t.". (|let* ((s|
|00000b50| 6f 75 72 63 65 20 28 6d | 65 72 67 65 2d 70 61 74 |ource (m|erge-pat|
|00000b60| 68 6e 61 6d 65 73 20 66 | 69 6c 65 20 22 2e 6c 69 |hnames f|ile ".li|
|00000b70| 73 70 22 29 29 0d 20 20 | 20 20 20 20 20 20 20 28 |sp")). | (|
|00000b80| 66 61 73 6c 20 20 20 28 | 6d 65 72 67 65 2d 70 61 |fasl (|merge-pa|
|00000b90| 74 68 6e 61 6d 65 73 20 | 66 69 6c 65 20 22 2e 66 |thnames |file ".f|
|00000ba0| 61 73 6c 22 29 29 29 0d | 20 20 20 20 28 75 6e 6c |asl"))).| (unl|
|00000bb0| 65 73 73 20 28 70 72 6f | 62 65 2d 66 69 6c 65 20 |ess (pro|be-file |
|00000bc0| 73 6f 75 72 63 65 29 0d | 20 20 20 20 20 20 28 65 |source).| (e|
|00000bd0| 72 72 6f 72 20 22 66 69 | 6c 65 20 6e 6f 74 20 66 |rror "fi|le not f|
|00000be0| 6f 75 6e 64 3a 20 7e 73 | 22 20 66 69 6c 65 29 29 |ound: ~s|" file))|
|00000bf0| 0d 20 20 20 20 28 77 68 | 65 6e 20 28 6f 72 20 61 |. (wh|en (or a|
|00000c00| 6c 77 61 79 73 0d 20 20 | 20 20 20 20 20 20 20 20 |lways. | |
|00000c10| 20 20 20 20 28 6e 6f 74 | 20 28 70 72 6f 62 65 2d | (not| (probe-|
|00000c20| 66 69 6c 65 20 66 61 73 | 6c 29 29 0d 20 20 20 20 |file fas|l)). |
|00000c30| 20 20 20 20 20 20 20 20 | 20 20 28 3c 20 28 66 69 | | (< (fi|
|00000c40| 6c 65 2d 77 72 69 74 65 | 2d 64 61 74 65 20 66 61 |le-write|-date fa|
|00000c50| 73 6c 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |sl). | |
|00000c60| 20 20 20 20 20 28 66 69 | 6c 65 2d 77 72 69 74 65 | (fi|le-write|
|00000c70| 2d 64 61 74 65 20 73 6f | 75 72 63 65 29 29 29 0d |-date so|urce))).|
|00000c80| 20 20 20 20 20 20 28 63 | 6f 6d 70 69 6c 65 2d 66 | (c|ompile-f|
|00000c90| 69 6c 65 20 73 6f 75 72 | 63 65 20 3a 6f 75 74 70 |ile sour|ce :outp|
|00000ca0| 75 74 2d 66 69 6c 65 20 | 66 61 73 6c 20 3a 76 65 |ut-file |fasl :ve|
|00000cb0| 72 62 6f 73 65 20 74 29 | 29 29 29 0d 0d 28 64 65 |rbose t)|)))..(de|
|00000cc0| 66 75 6e 20 6c 6f 61 64 | 2d 69 66 2d 63 68 61 6e |fun load|-if-chan|
|00000cd0| 67 65 64 20 28 66 69 6c | 65 20 61 6c 77 61 79 73 |ged (fil|e always|
|00000ce0| 29 0d 20 20 22 4c 6f 61 | 64 73 20 66 61 73 6c 20 |). "Loa|ds fasl |
|00000cf0| 66 69 6c 65 20 69 66 20 | 6e 6f 74 20 6c 6f 61 64 |file if |not load|
|00000d00| 65 64 20 6f 72 20 69 66 | 20 63 68 61 6e 67 65 64 |ed or if| changed|
|00000d10| 2c 20 63 6f 6d 70 69 6c | 69 6e 67 20 66 69 72 73 |, compil|ing firs|
|00000d20| 74 20 69 66 20 6e 65 63 | 65 73 73 61 72 79 2e 22 |t if nec|essary."|
|00000d30| 0d 20 20 28 63 6f 6d 70 | 69 6c 65 2d 69 66 2d 63 |. (comp|ile-if-c|
|00000d40| 68 61 6e 67 65 64 20 66 | 69 6c 65 20 6e 69 6c 29 |hanged f|ile nil)|
|00000d50| 0d 20 20 28 6c 65 74 2a | 20 28 28 66 61 73 6c 20 |. (let*| ((fasl |
|00000d60| 28 6d 65 72 67 65 2d 70 | 61 74 68 6e 61 6d 65 73 |(merge-p|athnames|
|00000d70| 20 66 69 6c 65 20 22 2e | 66 61 73 6c 22 29 29 0d | file ".|fasl")).|
|00000d80| 20 20 20 20 20 20 20 20 | 20 28 64 61 74 65 20 28 | | (date (|
|00000d90| 66 69 6c 65 2d 77 72 69 | 74 65 2d 64 61 74 65 20 |file-wri|te-date |
|00000da0| 66 61 73 6c 29 29 0d 20 | 20 20 20 20 20 20 20 20 |fasl)). | |
|00000db0| 28 6c 61 73 74 2d 6c 6f | 61 64 20 28 61 73 73 6f |(last-lo|ad (asso|
|00000dc0| 63 20 66 69 6c 65 20 2a | 6c 6f 61 64 65 64 2d 61 |c file *|loaded-a|
|00000dd0| 70 70 2d 66 69 6c 65 73 | 2a 20 3a 74 65 73 74 20 |pp-files|* :test |
|00000de0| 23 27 65 71 75 61 6c 70 | 29 29 29 0d 20 20 20 20 |#'equalp|))). |
|00000df0| 28 77 68 65 6e 20 28 6f | 72 20 61 6c 77 61 79 73 |(when (o|r always|
|00000e00| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |. | (|
|00000e10| 6e 6f 74 20 6c 61 73 74 | 2d 6c 6f 61 64 29 0d 20 |not last|-load). |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 3c 20 | | (< |
|00000e30| 28 63 64 72 20 6c 61 73 | 74 2d 6c 6f 61 64 29 0d |(cdr las|t-load).|
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e50| 20 64 61 74 65 29 29 0d | 20 20 20 20 20 20 28 6c | date)).| (l|
|00000e60| 6f 61 64 20 66 61 73 6c | 20 3a 76 65 72 62 6f 73 |oad fasl| :verbos|
|00000e70| 65 20 74 29 0d 20 20 20 | 20 20 20 28 69 66 20 6c |e t). | (if l|
|00000e80| 61 73 74 2d 6c 6f 61 64 | 0d 20 20 20 20 20 20 20 |ast-load|. |
|00000e90| 20 20 20 28 73 65 74 66 | 20 28 63 64 72 20 6c 61 | (setf| (cdr la|
|00000ea0| 73 74 2d 6c 6f 61 64 29 | 20 64 61 74 65 29 0d 20 |st-load)| date). |
|00000eb0| 20 20 20 20 20 20 20 20 | 20 28 70 75 73 68 20 28 | | (push (|
|00000ec0| 63 6f 6e 73 20 66 69 6c | 65 20 64 61 74 65 29 20 |cons fil|e date) |
|00000ed0| 2a 6c 6f 61 64 65 64 2d | 61 70 70 2d 66 69 6c 65 |*loaded-|app-file|
|00000ee0| 73 2a 29 29 29 29 29 0d | 0d 28 64 65 66 75 6e 20 |s*))))).|.(defun |
|00000ef0| 6c 6f 61 64 2d 61 70 70 | 2d 73 75 70 70 6f 72 74 |load-app|-support|
|00000f00| 20 28 29 0d 20 20 22 4c | 6f 61 64 73 20 73 75 70 | (). "L|oads sup|
|00000f10| 70 6f 72 74 20 66 61 73 | 6c 20 66 69 6c 65 73 2c |port fas|l files,|
|00000f20| 20 63 6f 6d 70 69 6c 69 | 6e 67 20 66 69 72 73 74 | compili|ng first|
|00000f30| 20 69 66 20 6e 65 63 65 | 73 73 61 72 79 2e 22 0d | if nece|ssary.".|
|00000f40| 20 20 28 64 6f 6c 69 73 | 74 20 28 66 69 6c 65 20 | (dolis|t (file |
|00000f50| 2a 61 70 70 2d 73 75 70 | 70 6f 72 74 2d 66 69 6c |*app-sup|port-fil|
|00000f60| 65 73 2a 29 0d 20 20 20 | 20 28 6c 6f 61 64 2d 69 |es*). | (load-i|
|00000f70| 66 2d 63 68 61 6e 67 65 | 64 20 66 69 6c 65 20 6e |f-change|d file n|
|00000f80| 69 6c 29 29 29 0d 0d 28 | 64 65 66 75 6e 20 6c 6f |il)))..(|defun lo|
|00000f90| 61 64 2d 61 70 70 2d 6d | 6f 64 75 6c 65 73 20 28 |ad-app-m|odules (|
|00000fa0| 29 0d 20 20 22 4c 6f 61 | 64 73 20 6c 69 62 72 61 |). "Loa|ds libra|
|00000fb0| 72 79 20 28 6d 6f 64 75 | 6c 65 29 20 66 61 73 6c |ry (modu|le) fasl|
|00000fc0| 20 66 69 6c 65 73 2c 20 | 63 6f 6d 70 69 6c 69 6e | files, |compilin|
|00000fd0| 67 20 66 69 72 73 74 20 | 69 66 20 6e 65 63 65 73 |g first |if neces|
|00000fe0| 73 61 72 79 2e 22 0d 20 | 20 28 64 6f 6c 69 73 74 |sary.". | (dolist|
|00000ff0| 20 28 6d 6f 64 75 6c 65 | 20 2a 61 70 70 2d 6d 6f | (module| *app-mo|
|00001000| 64 75 6c 65 73 2a 29 0d | 20 20 20 20 28 64 65 73 |dules*).| (des|
|00001010| 74 72 75 63 74 75 72 69 | 6e 67 2d 62 69 6e 64 20 |tructuri|ng-bind |
|00001020| 28 6d 6f 64 75 6c 65 2d | 6e 61 6d 65 20 2e 20 66 |(module-|name . f|
|00001030| 69 6c 65 29 20 6d 6f 64 | 75 6c 65 0d 20 20 20 20 |ile) mod|ule. |
|00001040| 20 20 28 77 68 65 6e 20 | 28 6f 72 20 28 6e 6f 74 | (when |(or (not|
|00001050| 20 28 6d 65 6d 62 65 72 | 20 6d 6f 64 75 6c 65 2d | (member| module-|
|00001060| 6e 61 6d 65 20 2a 6d 6f | 64 75 6c 65 73 2a 20 3a |name *mo|dules* :|
|00001070| 74 65 73 74 20 27 73 74 | 72 69 6e 67 2d 65 71 75 |test 'st|ring-equ|
|00001080| 61 6c 29 29 0d 20 20 20 | 20 20 20 20 20 20 20 20 |al)). | |
|00001090| 20 20 20 20 20 28 63 6f | 6d 70 69 6c 65 2d 69 66 | (co|mpile-if|
|000010a0| 2d 63 68 61 6e 67 65 64 | 20 66 69 6c 65 20 6e 69 |-changed| file ni|
|000010b0| 6c 29 29 0d 20 20 20 20 | 20 20 20 20 28 6c 6f 61 |l)). | (loa|
|000010c0| 64 2d 69 66 2d 63 68 61 | 6e 67 65 64 20 66 69 6c |d-if-cha|nged fil|
|000010d0| 65 20 6e 69 6c 29 29 29 | 29 29 0d 0d 28 64 65 66 |e nil)))|))..(def|
|000010e0| 75 6e 20 6c 6f 61 64 2d | 61 70 70 2d 63 6f 72 65 |un load-|app-core|
|000010f0| 2d 66 69 6c 65 73 20 28 | 29 0d 20 20 22 4c 6f 61 |-files (|). "Loa|
|00001100| 64 73 20 63 6f 72 65 20 | 66 69 6c 65 73 2c 20 69 |ds core |files, i|
|00001110| 66 20 6e 6f 74 20 6c 6f | 61 64 65 64 20 6f 72 20 |f not lo|aded or |
|00001120| 69 66 20 63 68 61 6e 67 | 65 64 2e 22 0d 20 20 28 |if chang|ed.". (|
|00001130| 64 6f 6c 69 73 74 20 28 | 66 69 6c 65 20 2a 61 70 |dolist (|file *ap|
|00001140| 70 2d 63 6f 72 65 2d 66 | 69 6c 65 73 2a 29 0d 20 |p-core-f|iles*). |
|00001150| 20 20 20 28 6c 6f 61 64 | 2d 69 66 2d 63 68 61 6e | (load|-if-chan|
|00001160| 67 65 64 20 66 69 6c 65 | 20 6e 69 6c 29 29 29 0d |ged file| nil))).|
|00001170| 0d 28 64 65 66 75 6e 20 | 6c 6f 61 64 2d 61 70 70 |.(defun |load-app|
|00001180| 2d 66 69 6c 65 73 20 28 | 29 0d 20 20 22 4c 6f 61 |-files (|). "Loa|
|00001190| 64 73 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 66 |ds appli|cation f|
|000011a0| 69 6c 65 73 2c 20 69 66 | 20 6e 6f 74 20 6c 6f 61 |iles, if| not loa|
|000011b0| 64 65 64 20 6f 72 20 69 | 66 20 63 68 61 6e 67 65 |ded or i|f change|
|000011c0| 64 2e 22 0d 20 20 28 64 | 6f 6c 69 73 74 20 28 66 |d.". (d|olist (f|
|000011d0| 69 6c 65 20 2a 61 70 70 | 2d 66 69 6c 65 73 2a 29 |ile *app|-files*)|
|000011e0| 0d 20 20 20 20 28 6c 6f | 61 64 2d 69 66 2d 63 68 |. (lo|ad-if-ch|
|000011f0| 61 6e 67 65 64 20 66 69 | 6c 65 20 6e 69 6c 29 29 |anged fi|le nil))|
|00001200| 29 0d 0d 28 64 65 66 75 | 6e 20 6c 6f 61 64 2d 61 |)..(defu|n load-a|
|00001210| 70 70 20 28 29 0d 20 20 | 22 4c 6f 61 64 73 20 73 |pp (). |"Loads s|
|00001220| 75 70 70 6f 72 74 2c 20 | 6d 6f 64 75 6c 65 20 61 |upport, |module a|
|00001230| 6e 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 66 |nd appli|cation f|
|00001240| 69 6c 65 73 2c 20 69 66 | 20 6e 6f 74 20 6c 6f 61 |iles, if| not loa|
|00001250| 64 65 64 20 6f 72 20 69 | 66 20 63 68 61 6e 67 65 |ded or i|f change|
|00001260| 64 2e 22 0d 20 20 28 77 | 69 74 68 2d 63 6f 6d 70 |d.". (w|ith-comp|
|00001270| 69 6c 61 74 69 6f 6e 2d | 75 6e 69 74 20 28 29 0d |ilation-|unit ().|
|00001280| 20 20 20 20 28 6c 6f 61 | 64 2d 61 70 70 2d 73 75 | (loa|d-app-su|
|00001290| 70 70 6f 72 74 29 29 0d | 20 20 28 77 69 74 68 2d |pport)).| (with-|
|000012a0| 63 6f 6d 70 69 6c 61 74 | 69 6f 6e 2d 75 6e 69 74 |compilat|ion-unit|
|000012b0| 20 28 29 0d 20 20 20 20 | 28 6c 6f 61 64 2d 61 70 | (). |(load-ap|
|000012c0| 70 2d 6d 6f 64 75 6c 65 | 73 29 29 20 20 3b 6d 6f |p-module|s)) ;mo|
|000012d0| 64 75 6c 65 73 20 61 72 | 65 20 63 6f 6d 70 69 6c |dules ar|e compil|
|000012e0| 65 64 20 69 66 20 63 68 | 61 6e 67 65 64 20 6f 72 |ed if ch|anged or|
|000012f0| 20 6e 6f 74 20 79 65 74 | 20 63 6f 6d 70 69 6c 65 | not yet| compile|
|00001300| 64 0d 20 20 28 77 69 74 | 68 2d 63 6f 6d 70 69 6c |d. (wit|h-compil|
|00001310| 61 74 69 6f 6e 2d 75 6e | 69 74 20 28 29 0d 20 20 |ation-un|it (). |
|00001320| 20 20 28 6c 6f 61 64 2d | 61 70 70 2d 63 6f 72 65 | (load-|app-core|
|00001330| 2d 66 69 6c 65 73 29 29 | 0d 20 20 28 77 69 74 68 |-files))|. (with|
|00001340| 2d 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 2d 75 6e 69 |-compila|tion-uni|
|00001350| 74 20 28 29 0d 20 20 20 | 20 28 6c 6f 61 64 2d 61 |t (). | (load-a|
|00001360| 70 70 2d 66 69 6c 65 73 | 29 29 0d 20 20 28 70 75 |pp-files|)). (pu|
|00001370| 73 68 6e 65 77 20 3a 6d | 69 6e 69 2d 61 70 70 20 |shnew :m|ini-app |
|00001380| 2a 66 65 61 74 75 72 65 | 73 2a 29 29 0d 0d 0d 3b |*feature|s*))...;|
|00001390| 3b 3b 20 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |;; _____|________|
|000013a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000013b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000013c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000013d0| 5f 5f 5f 5f 5f 0d 3b 3b | 3b 20 53 54 41 52 54 20 |_____.;;|; START |
|000013e0| 4d 49 4e 49 20 41 50 50 | 4c 49 43 41 54 49 4f 4e |MINI APP|LICATION|
|000013f0| 0d 0d 3b 3b 3b 20 20 20 | 53 74 61 72 74 20 75 70 |..;;; |Start up|
|00001400| 20 6f 75 72 20 6c 69 74 | 74 6c 65 20 61 70 70 6c | our lit|tle appl|
|00001410| 69 63 61 74 69 6f 6e 2e | 0d 3b 3b 3b 0d 0d 28 70 |ication.|.;;;..(p|
|00001420| 72 6f 67 6e 0d 20 20 28 | 6c 6f 61 64 2d 61 70 70 |rogn. (|load-app|
|00001430| 29 0d 20 20 28 73 74 61 | 72 74 2d 61 70 70 6c 69 |). (sta|rt-appli|
|00001440| 63 61 74 69 6f 6e 29 29 | 20 20 20 20 3b 69 6e 20 |cation))| ;in |
|00001450| 63 63 6c 3a 6d 69 6e 69 | 2d 61 70 70 3b 73 74 61 |ccl:mini|-app;sta|
|00001460| 72 74 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 0d 0d |rt-appli|cation..|
|00001470| 0d 3b 3b 3b 20 52 65 63 | 6f 72 64 20 74 68 69 73 |.;;; Rec|ord this|
|00001480| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 61 73 20 | applica|tion as |
|00001490| 6c 6f 61 64 65 64 20 28 | 43 6f 6d 6d 6f 6e 20 4c |loaded (|Common L|
|000014a0| 69 73 70 20 62 6f 6f 6b | 6b 65 65 70 69 6e 67 29 |isp book|keeping)|
|000014b0| 0d 3b 3b 3b 0d 28 70 72 | 6f 76 69 64 65 20 3a 6d |.;;;.(pr|ovide :m|
|000014c0| 69 6e 69 2d 61 70 70 6c | 69 63 61 74 69 6f 6e 29 |ini-appl|ication)|
|000014d0| 0d 0d 0d 23 7c 0d 0d 49 | 66 20 79 6f 75 20 72 65 |...#|..I|f you re|
|000014e0| 61 6c 6c 79 20 77 61 6e | 74 20 74 6f 20 63 6f 6d |ally wan|t to com|
|000014f0| 70 69 6c 65 20 74 68 65 | 20 4d 69 6e 69 2d 41 70 |pile the| Mini-Ap|
|00001500| 70 6c 69 63 61 74 69 6f | 6e 20 77 69 74 68 6f 75 |plicatio|n withou|
|00001510| 74 20 6c 6f 61 64 69 6e | 67 20 69 74 0d 20 20 20 |t loadin|g it. |
|00001520| 28 77 61 72 6e 69 6e 67 | 3a 20 74 68 69 73 20 77 |(warning|: this w|
|00001530| 61 73 6e 27 74 20 74 65 | 73 74 65 64 2c 20 62 65 |asn't te|sted, be|
|00001540| 63 61 75 73 65 20 49 20 | 64 6f 6e 27 74 20 75 73 |cause I |don't us|
|00001550| 65 20 69 74 29 3a 0d 0d | 3b 28 63 6f 6d 70 69 6c |e it):..|;(compil|
|00001560| 65 2d 61 70 70 29 20 20 | 20 20 20 3b 63 6f 6d 70 |e-app) | ;comp|
|00001570| 69 6c 65 73 20 61 6e 79 | 20 66 69 6c 65 73 20 74 |iles any| files t|
|00001580| 68 61 74 20 6e 65 65 64 | 20 63 6f 6d 70 69 6c 69 |hat need| compili|
|00001590| 6e 67 0d 3b 28 63 6f 6d | 70 69 6c 65 2d 61 70 70 |ng.;(com|pile-app|
|000015a0| 20 54 29 20 20 20 3b 63 | 6f 6d 70 69 6c 65 73 20 | T) ;c|ompiles |
|000015b0| 61 6c 6c 20 66 69 6c 65 | 73 20 75 6e 63 6f 6e 64 |all file|s uncond|
|000015c0| 69 74 69 6f 6e 61 6c 6c | 79 0d 0d 28 64 65 66 75 |itionall|y..(defu|
|000015d0| 6e 20 63 6f 6d 70 69 6c | 65 2d 63 6f 72 65 2d 66 |n compil|e-core-f|
|000015e0| 69 6c 65 73 20 28 26 6f | 70 74 69 6f 6e 61 6c 20 |iles (&o|ptional |
|000015f0| 61 6c 77 61 79 73 29 0d | 20 20 22 43 6f 6d 70 69 |always).| "Compi|
|00001600| 6c 65 73 20 63 6f 72 65 | 20 66 69 6c 65 73 2c 20 |les core| files, |
|00001610| 69 66 20 63 68 61 6e 67 | 65 64 20 6f 72 20 69 66 |if chang|ed or if|
|00001620| 20 61 6c 77 61 79 73 20 | 69 73 20 74 2e 22 0d 20 | always |is t.". |
|00001630| 20 28 64 6f 6c 69 73 74 | 20 28 66 69 6c 65 20 2a | (dolist| (file *|
|00001640| 61 70 70 2d 63 6f 72 65 | 2d 66 69 6c 65 73 2a 29 |app-core|-files*)|
|00001650| 0d 20 20 20 20 28 63 6f | 6d 70 69 6c 65 2d 69 66 |. (co|mpile-if|
|00001660| 2d 63 68 61 6e 67 65 64 | 20 66 69 6c 65 20 61 6c |-changed| file al|
|00001670| 77 61 79 73 29 29 29 0d | 0d 28 64 65 66 75 6e 20 |ways))).|.(defun |
|00001680| 63 6f 6d 70 69 6c 65 2d | 61 70 70 2d 66 69 6c 65 |compile-|app-file|
|00001690| 73 20 28 26 6f 70 74 69 | 6f 6e 61 6c 20 61 6c 77 |s (&opti|onal alw|
|000016a0| 61 79 73 29 0d 20 20 22 | 43 6f 6d 70 69 6c 65 73 |ays). "|Compiles|
|000016b0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 66 69 6c | applica|tion fil|
|000016c0| 65 73 2c 20 69 66 20 63 | 68 61 6e 67 65 64 20 6f |es, if c|hanged o|
|000016d0| 72 20 69 66 20 61 6c 77 | 61 79 73 20 69 73 20 74 |r if alw|ays is t|
|000016e0| 2e 22 0d 20 20 28 64 6f | 6c 69 73 74 20 28 66 69 |.". (do|list (fi|
|000016f0| 6c 65 20 2a 61 70 70 2d | 66 69 6c 65 73 2a 29 0d |le *app-|files*).|
|00001700| 20 20 20 20 28 63 6f 6d | 70 69 6c 65 2d 69 66 2d | (com|pile-if-|
|00001710| 63 68 61 6e 67 65 64 20 | 66 69 6c 65 20 61 6c 77 |changed |file alw|
|00001720| 61 79 73 29 29 29 0d 0d | 28 64 65 66 75 6e 20 63 |ays)))..|(defun c|
|00001730| 6f 6d 70 69 6c 65 2d 61 | 70 70 20 28 26 6f 70 74 |ompile-a|pp (&opt|
|00001740| 69 6f 6e 61 6c 20 61 6c | 77 61 79 73 29 0d 20 20 |ional al|ways). |
|00001750| 22 4c 6f 61 64 73 20 73 | 75 70 70 6f 72 74 20 61 |"Loads s|upport a|
|00001760| 6e 64 20 6d 6f 64 75 6c | 65 20 66 69 6c 65 73 2c |nd modul|e files,|
|00001770| 20 61 6e 64 20 63 6f 6d | 70 69 6c 65 73 20 61 70 | and com|piles ap|
|00001780| 70 6c 69 63 61 74 69 6f | 6e 20 66 69 6c 65 73 2c |plicatio|n files,|
|00001790| 0d 20 20 20 69 66 20 63 | 68 61 6e 67 65 64 20 6f |. if c|hanged o|
|000017a0| 72 20 69 66 20 61 6c 77 | 61 79 73 20 69 73 20 74 |r if alw|ays is t|
|000017b0| 2e 22 0d 20 20 28 77 69 | 74 68 2d 63 6f 6d 70 69 |.". (wi|th-compi|
|000017c0| 6c 61 74 69 6f 6e 2d 75 | 6e 69 74 20 28 29 0d 20 |lation-u|nit (). |
|000017d0| 20 20 20 28 6c 6f 61 64 | 2d 61 70 70 2d 73 75 70 | (load|-app-sup|
|000017e0| 70 6f 72 74 29 29 20 20 | 20 3b 69 74 20 69 73 20 |port)) | ;it is |
|000017f0| 6e 65 63 65 73 73 61 72 | 79 20 74 6f 20 6c 6f 61 |necessar|y to loa|
|00001800| 64 20 74 68 65 20 73 75 | 70 70 6f 72 74 20 66 69 |d the su|pport fi|
|00001810| 6c 65 73 0d 20 20 28 77 | 69 74 68 2d 63 6f 6d 70 |les. (w|ith-comp|
|00001820| 69 6c 61 74 69 6f 6e 2d | 75 6e 69 74 20 28 29 0d |ilation-|unit ().|
|00001830| 20 20 20 20 28 6c 6f 61 | 64 2d 61 70 70 2d 6d 6f | (loa|d-app-mo|
|00001840| 64 75 6c 65 73 29 29 20 | 20 20 3b 69 74 20 69 73 |dules)) | ;it is|
|00001850| 20 6e 65 63 65 73 73 61 | 72 79 20 74 6f 20 6c 6f | necessa|ry to lo|
|00001860| 61 64 20 74 68 65 20 6c | 69 62 72 61 72 79 20 66 |ad the l|ibrary f|
|00001870| 69 6c 65 73 0d 20 20 28 | 77 69 74 68 2d 63 6f 6d |iles. (|with-com|
|00001880| 70 69 6c 61 74 69 6f 6e | 2d 75 6e 69 74 20 28 29 |pilation|-unit ()|
|00001890| 0d 20 20 20 20 28 63 6f | 6d 70 69 6c 65 2d 63 6f |. (co|mpile-co|
|000018a0| 72 65 2d 66 69 6c 65 73 | 20 61 6c 77 61 79 73 29 |re-files| always)|
|000018b0| 29 0d 20 20 28 77 69 74 | 68 2d 63 6f 6d 70 69 6c |). (wit|h-compil|
|000018c0| 61 74 69 6f 6e 2d 75 6e | 69 74 20 28 29 0d 20 20 |ation-un|it (). |
|000018d0| 20 20 28 63 6f 6d 70 69 | 6c 65 2d 61 70 70 2d 66 | (compi|le-app-f|
|000018e0| 69 6c 65 73 20 61 6c 77 | 61 79 73 29 29 29 0d 7c |iles alw|ays))).||
|000018f0| 23 0d 0d 3b 65 6e 64 20 | 6f 66 20 66 69 6c 65 20 |#..;end |of file |
|00001900| 62 75 69 6c 64 2d 61 6e | 64 2d 72 75 6e 2d 6d 69 |build-an|d-run-mi|
|00001910| 6e 69 2d 61 70 70 2e 6c | 69 73 70 0d 3b 2d 2d 2d |ni-app.l|isp.;---|
|00001920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001930| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001940| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 00 00 |--------|-----...|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 01 00 00 00 01 67 | 00 00 00 67 00 00 00 52 |.......g|...g...R|
|00001990| 73 2c 20 70 61 6c 65 74 | 74 65 73 2c 20 62 65 68 |s, palet|tes, beh|
|000019a0| 61 76 69 6f 72 2c 20 65 | 74 63 0d 20 20 20 20 20 |avior, e|tc. |
|000019b0| 1b 62 75 69 6c 64 2d 61 | 6e 64 2d 72 75 6e 2d 6d |.build-a|nd-run-m|
|000019c0| 69 6e 69 2d 61 70 70 2e | 6c 69 73 70 02 00 00 00 |ini-app.|lisp....|
|000019d0| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 68 00 00 |..TEXTCC|L2...h..|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 a5 de dd 68 00 00 | 18 ce 00 00 01 b9 0d 0d |.....h..|........|
|00001a00| 28 63 63 6c 3a 3a 61 64 | 64 2d 6c 6f 67 69 63 61 |(ccl::ad|d-logica|
|00001a10| 6c 2d 70 61 74 68 6e 61 | 6d 65 2d 74 72 61 6e 73 |l-pathna|me-trans|
|00001a20| 6c 61 74 69 6f 6e 20 0d | 20 22 63 63 6c 22 20 27 |lation .| "ccl" '|
|00001a30| 28 22 6d 69 6e 69 2d 61 | 70 70 3b 2a 2a 3b 2a 2e |("mini-a|pp;**;*.|
|00001a40| 2a 22 20 22 63 63 6c 3a | 4d 69 6e 69 2d 41 70 70 |*" "ccl:|Mini-App|
|00001a50| 6c 69 63 61 74 69 6f 6e | 3b 2a 2a 3b 2a 2e 2a 22 |lication|;**;*.*"|
|00001a60| 29 29 0d 0d 28 64 65 66 | 70 61 72 61 6d 65 74 65 |))..(def|paramete|
|00001a70| 72 20 2a 61 70 70 2d 73 | 75 70 70 6f 72 74 2d 66 |r *app-s|upport-f|
|00001a80| 00 00 00 0a 00 01 00 04 | 09 00 01 00 00 00 00 00 |........|........|
|00001a90| 00 09 00 00 06 4d 6f 6e | 61 63 6f 00 00 00 48 00 |.....Mon|aco...H.|
|00001aa0| 09 4d 6f 6e 61 63 6f 00 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 06 00 08 00 29 00 | 03 01 53 01 fd 00 29 00 |......).|..S...).|
|00001ad0| 03 01 53 01 fd 00 00 00 | 00 00 00 00 00 00 00 00 |..S.....|........|
|00001ae0| 00 00 00 00 00 01 00 00 | 00 01 00 00 00 01 67 00 |........|......g.|
|00001af0| 00 00 67 00 00 00 52 00 | 1b 2a bc 08 16 00 00 00 |..g...R.|.*......|
|00001b00| 1c 00 52 00 01 46 52 45 | 44 00 01 00 12 4d 50 53 |..R..FRE|D....MPS|
|00001b10| 52 00 00 00 2a 00 02 ff | ff 00 00 00 00 00 00 00 |R...*...|........|
|00001b20| 00 00 03 ff ff 00 00 00 | 0e 00 00 00 00 03 ed ff |........|........|
|00001b30| ff 00 00 00 1b 00 1c 08 | a8 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+